home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / bbdice16.zip / BBDICE.DOC < prev    next >
Text File  |  1993-01-05  |  19KB  |  425 lines

  1.  
  2.                              BASEBALL DICE
  3.  
  4.                                   v1.6
  5.  
  6.                                    by
  7.  
  8.                               Al Lawrence
  9.  
  10.                             Sunrise-80  BBS
  11.                             (404) 256-9525
  12.  
  13.  
  14.  
  15.  
  16.                                 OVERVIEW
  17.                                 ________
  18.  
  19.  
  20.    Baseball Dice plays pretty much like a regular game of baseball, with the
  21.    exception that you use dice to "hit" the ball and we do not count the balls
  22.    and strikes (ie: 1 strike = a strikeout AND 1 ball = a walk).
  23.  
  24.    The object of the game is to beat the game score that you, the Sysop, have
  25.    already posted.  NOTE: Ties lose!
  26.  
  27.  
  28.    NOTE: Most errors will be logged to a file called DFRAME.ERR which is
  29.          created in the directory you run the door from.
  30.  
  31.  
  32.  
  33.                               INSTALLATION
  34.                               ____________
  35.  
  36.  
  37.    Installation is fairly easy and straight-forward. The following steps and
  38.    examples should have you up and running in a very short period of time.
  39.    It is assumed that you are familiar with setting up DOORS on your system.
  40.    To this end, only examples of the configuration file and Door batch file
  41.    are described.
  42.  
  43.       1) Create a directory to hold all BBDICE files
  44.  
  45.       2) Unzip BBDICExx.ZIP into the the above directory
  46.  
  47.       3) Create a configuration file, with a name of your choice, or
  48.          modify the supplied BBDICE.CFG file. A description follows:
  49.  
  50.             **                       Location of system file (See Below)
  51.             SUNRISE-80 BBS           Your BBS Name
  52.             Al                       Sysop's First name
  53.  
  54.             Lawrence                 Sysop's Last Name
  55.  
  56. |-----------------------------------------------------------------------------|
  57. | READ!     1                        CommPort  \ These 2 lines are required   |
  58. | READ!     1                        Node #    / ONLY for GTUSER.BBS          |
  59. |-----------------------------------------------------------------------------|
  60.  
  61.             00000000                 Registration Number
  62.  
  63.     !   #   1                        Maximum # of Games per day
  64.                                      (Sysop gets 99, Registered version ONLY)
  65.  
  66.             50                       Number of Top Score entries.
  67.                                      Minimum = 10, Maximum = 99.
  68.  
  69.         #   NONE                     Drive:\Path\Filename to contain the
  70.                                      Top Score Bulletin or enter NONE
  71.                                      for NO Bulletin creation.
  72.  
  73.         #   NONE                     Drive:\Path\Filename to contain the
  74.                                      Top Score Bulletin (Color) or enter NONE
  75.                                      for NO Bulletin creation.
  76.  
  77.             2                        1 = DO NOT Display ADOPT-A-DOOR Message
  78.                                      2 = Display ADOPT-A-DOOR message
  79.  
  80.         #   2                        Keyboard timeout value in Minutes
  81.  
  82.     !   #   0                        Time allowed in Door
  83.                                      (Sysop = Time Remaining - REG. VERSION)
  84.  
  85.         #   Y                        Y = Allow Sysop to play 99 games
  86.                                      N = Don't Allow Sysop to play 99 games
  87.  
  88.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  89.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  90.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  91.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  92.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  93.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  94.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  95.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  96.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  97.     !   #   000=00/00                 Security Level/Games Allowed Per Day
  98.     @   #   XXXX/YYYY                 Blackout Range  From/To
  99.     @   #   XXXX/YYYY                 Blackout Range  From/To
  100.     @   #   XXXX/YYYY                 Blackout Range  From/To
  101.     @   #   XXXX/YYYY                 Blackout Range  From/To
  102.     @   #   XXXX/YYYY                 Blackout Range  From/To
  103.  
  104.  
  105.  
  106.               ** = Replace with ONE of the following:
  107.  
  108. C:\PCB\PCBOARD.SYS              <- For PCBoard systems using PCBOARD.SYS only
  109. C:\BBS\CALLINFO.BBS             <- For Wildcat! systems (prior to v3.0)
  110. C:\BBS\USERINFO.DAT             <- For Wildcat! systems using v3.x
  111.                                    (Note:DOOR.SYS must be in SAME directory)
  112. C:\BBS\DOOR.SYS                 <- For ANY systems that support DOOR.SYS
  113. C:\BBS\DORINFOx.DEF             <- For ANY systems that support DORINFOx.DEF
  114. C:\BBS\SFDOORS.DAT              <- For Spitfire systems.
  115. c:\bbs\TRIBBS.SYS               <- For TriBBS systems.
  116. C:\BBS\CHAIN.TXT                <- For WWIV systems
  117. C:\BBS\GTUSER.BBS               <- For GT Power
  118.                                    * if using this option you must put the
  119.                                      ComPort # on line 5 and the Node # on
  120.                                      line 6 of the configuration file
  121.  
  122.  
  123.  
  124.  
  125.            # = Requires registration to change to a different value.
  126.            ! = See "Plays Per Day" Below
  127.            @ = See "Blackout Periods" Below
  128.  
  129.                NOTE: There are NO Blank Lines in the Config File!!
  130.  
  131.  
  132.  
  133.  
  134.       4) Create a batch file or modify the BBDICE file supplied. A
  135.          description of this file follows:
  136.  
  137.             ECHO off
  138.             cd\PCB\DOORS\BBDICE       Location of BBDICE files
  139.             BBDICE  BBDICE.CFG        EXE filename and CFG filename (Name
  140.                                       used in creating file in #3 above)
  141.             CD\PCB
  142.             BOARD
  143.  
  144.  
  145.        5) When running in more than one node, be sure to supply a
  146.           different configuration name for each node (your choice of name).
  147.  
  148.        6) If running with a Fossil-based multi-port boards add
  149.           /FD to the line containing the CFG name as follows:
  150.  
  151.                           BBDICE BBDICE.CFG /FD
  152.  
  153.  
  154.  
  155.                          TEAM ROSTER FILE
  156.                          ________________
  157.  
  158.       You must have a file called BBDICE.ROS in your directory. This file
  159.       contains the team line-up. You can have a maximum of 9 entries, with
  160.       no entry longer than 33 characters.
  161.  
  162.  
  163.  
  164.                           BLACKOUT PERIODS
  165.                           ________________
  166.  
  167.       Use the Blackout ranges option to define up to 5 time periods during
  168.       which you DO NOT want the Door to be played. If a caller tries to access
  169.       the Door during the Blackout period, they will be shown a message that
  170.       contains ALL the Blackout periods you have defined, and to try the Door
  171.       at a later time.
  172.  
  173.       Each of the 5 Blackout ranges takes the form of XXXX/YYYY, where
  174.       XXXX=beginning time and YYYY=the ending time. For example, 0930/1230
  175.       means to NOT allow the Door to be played between 9:30am and 12:30pm.
  176.  
  177.       IMPORTANT: - All times must be 4 digits & must follow the XXXX/YYYY format
  178.                  - DO NOT change the XXXX/YYYY entry UNLESS you want to assign
  179.                    a Blackout range.
  180.                  - You MUST use the MILITARY time format. Example: 2030=8:30pm
  181.                    0900=9am, 0030=12:30am, 1700=5pm, etc.
  182.  
  183.  
  184.  
  185.                           PLAYS Per DAY/DOOR Time
  186.                           _______________________
  187.  
  188.       Plays Per Day and Door Time can be controlled several ways:
  189.  
  190.       (1) You can use the Games Per Day, singular option, in the config
  191.           file above. This option, will affect ALL callers whose Security
  192.           Level is NOT defined in any of the 10 optional Security Level/
  193.           Plays Per Day entries in the config file.
  194.  
  195.       (2) You can use the Door Time, singular option, in the config file
  196.           above. This option, will affect ALL callers whose Security
  197.           Level is NOT defined in any of the 10 optional Security Level/
  198.           Plays Per Day/Door Time entries in the config file.
  199.  
  200.       (3) You can restrict the number of games a specific Security Level
  201.           will be allowed to play per day or REWARD specific Levels with
  202.           more Plays Per Day.
  203.  
  204.           Likewise, you can restrict the Play time for a specific Security
  205.           Level or REWARD specific Levels with more Door Time.
  206.  
  207.           These options are handled by the use of the 10 config
  208.           entries (000=00/00).
  209.  
  210.           The format of each entry is as follows:
  211.  
  212.           XXX=YY/ZZ  where XXX is the Security Level (must be 3 digits)
  213.                      where =  is a constant and MUST be included
  214.                      where YY is the # of games per day (must be 2 digits)
  215.                      where / is a constant and MUST be included
  216.                      where ZZ is num. minutes per Door entry (must be 2 digits)
  217.  
  218.           If the callers Security Level is NOT defined, his/her Plays Per
  219.           Day and Door Time will be controlled by the values in items
  220.           (1) and (2), above, respectively..
  221.  
  222.           You may define up to 10 Security Levels. All unused entries must
  223.           be defined as   000=00/00
  224.         --------------------------------------------------------------------
  225.           Example: Suppose you had 3 Security Levels defined on your BBS as
  226.           (20=Subscriber, 30=Visiting Sysop, 40=CoSysop, 90=Friend) and you
  227.           wanted to set Plays Per Day as :     Subscriber=5
  228.                                            Visiting Sysop=2
  229.                                                   CoSysop=3
  230.                                                    Friend=10
  231.  
  232.           and Door Time as follows:     Subscriber=30 minutes
  233.                                     Visiting Sysop=20 minutes
  234.                                            CoSysop=10 minutes
  235.                                             Friend=remaining call time
  236.  
  237.  
  238.           You would set the Individual "Games per Day" config entry to 1 and
  239.           the individual "Door Time" to 5 minutes (these would be the
  240.           default number of games and default Time for all Security Levels
  241.           other than 20,30 or 40... make them any number you want). Next you
  242.           would replace 4 of the Security Level entries as :  020=05/30
  243.                                                               030=02/20
  244.                                                               040=03/10
  245.                                                               090=10/0
  246.  
  247.  
  248.                         NON-STANDARD COM SUPPORT
  249.                         ________________________
  250.  
  251.       Support for COM 1-4 on the standard IRQ's - COM1/COM3 = IRQ4 and
  252.       COM2/COM4 = IRQ3. If you wish to use a non-standard IRQ, add the IRQ
  253.       number after the configuration filename. Let's assume your Door is
  254.       called FOOBAR and you want to use COM1 and IRQ5. The command line
  255.       passed to your Door would be:
  256.  
  257.                             FOOBAR FOOBAR.CFG /5
  258.  
  259.       The /5 tells FOOBAR to use IRQ5 rather than the standard IRQ4 that is
  260.       normally used with COM1. No /x parameter is needed for the standard
  261.       IRQ's.
  262.  
  263.       As an alternative, you may use an environmental variable on the command
  264.       line. To use the variable (following the example above), place a
  265.       SET IRQ=5 in the batch file used to bring up your BBS (you would need a
  266.       different IRQ number for each node). The command line would now look
  267.       like this:
  268.  
  269.                           FOOBAR FOOBAR.CFG /%IRQ%
  270.  
  271.       This, in combination with the use of the environmental variables
  272.       described in the MULTI-NODE SETUP section will allow you to use one
  273.       batch file and one config file to run this door on all nodes.
  274.  
  275.  
  276.  
  277.  
  278.                            MULTI-NODE SETUP
  279.                            ________________
  280.  
  281.       All Sunrise Doors are Multi-Node capable. Each node must have the
  282.       ability to access a configuration file which will have its own system
  283.       file (DORINFOx.DEF, PCBOARD.SYS, DOOR.SYS, etc) defined on the first
  284.       line. There are 2 ways to accomplish this:
  285.  
  286.       (1) Create a separate configuration file for each node. The only
  287.           difference between each file would be the location of the system
  288.           file for that particular node. For example, on my system there are 2
  289.           nodes and the first line of the config files would look like this:
  290.  
  291.                         NODE1:  H:\PCB1\DOOR.SYS
  292.                         NODE2:  H:\PCB2\DOOR.SYS
  293.  
  294.           Thus, if you have a 4 node BBS, you will need 4 configuration files.
  295.  
  296.       (2) Use ONE configuration file for ALL nodes. This Door will recognize
  297.           the following PCBoard environmental variables:
  298.  
  299.                  PCBDIR    (Directory containing the System file)
  300.                  PCBDRIVE  (Drive containing the System file)
  301.  
  302.           Thus, the first line of the SINGLE configuration file, for this Door
  303.           would look like this:
  304.  
  305.                         %PCBDRIVE%%PCBDIR%\DOOR.SYS
  306.  
  307.       NOTE: This option, as described, assumes that you are running PCBoard
  308.             14.5a software. The environmental variables are automatically
  309.             created by the software for each node.
  310.  
  311.             HOWEVER, if you are running other BBS software you should be able
  312.             to set the variables EXACTLY as described below, for EACH node
  313.             (more than likely in each batch file you use to bring up EACH node):
  314.  
  315.                             PCBDRIVE=C:
  316.                             ^^^^^^^^^
  317.                             PCBDIR=\NODE2
  318.                             ^^^^^^^^
  319.  
  320.             Info with a carat (^) under it, MUST be typed as is. The rest
  321.             depends on your naming conventions.
  322.  
  323.             This, in combination with the use of the optional environmental
  324.             variable described in the NON-STANDARD COM SUPPORT section, will
  325.             allow you to use one batch file and one config file to run this
  326.             door on all nodes.
  327.  
  328.  
  329.                                ADOPT-A-DOOR
  330.                                ____________
  331.  
  332.     Having been a Sysop for a number of years, I have had my share of problems
  333.     and frustrations getting financial support for my board's upkeep. A fellow
  334.     Sysop left a message on my board, not long ago, about a concept that was
  335.     being used by several boards around the country.
  336.  
  337.     The concept, ADOPT-A-DOOR, allows a caller to register (ADOPT) a door. It
  338.     would be the same as sending in a donation, only this way it is earmarked
  339.     for registering a particular door. In a way, the user feels he/she is
  340.     "getting something in return". As a Door author I have decided to build
  341.     this concept into each of my Door programs. The concept replaces the
  342.     usual message "tell the Sysop to register this Door" we find in most
  343.     doors.
  344.  
  345.     If the Door is unregisterd then a message appears on the opening screen
  346.     to that effect. After finishing or suspending a game, a message screen
  347.     is displayed about the ADOPT-A-DOOR concept. The message also tells the
  348.     caller to contact the Sysop to find out if there is any further details
  349.     to the ADOPT-A-DOOR concept. Some Sysops give extra D/L time, online
  350.     time, etc to callers that ADOPT-A-DOOR.
  351.  
  352.     If the Door has been registered, either by the Sysop or other callers,
  353.     the names of those contributors will be displayed in the closing screen.
  354.  
  355.     NOTE: If you want to display the names of the callers that contributed
  356.           to registering the Door, you must create an ASCII file called
  357.           ADOPT.SYS. You create it with an Editor or Word Processor. Enter
  358.           the name(s) of the contributors (one on each line, maximum of 5
  359.           entries, each a maximum of 30 characters long). This file must be
  360.           saved, in ASCII format, and placed in the Door directory.
  361.  
  362.  
  363.  
  364.                               LEGALITIES
  365.                               __________
  366.  
  367.  
  368.       THIS SOFTWARE AND ACCOMPANYING MATERIALS ARE DISTRIBUTED "AS IS"
  369.       WITHOUT WARRANTY, EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT
  370.       LIMITED TO ANY IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
  371.       FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL ANYONE INVOLVED WITH
  372.       THE CREATION AND PRODUCTION OF THIS PRODUCT BE LIABLE FOR INDIRECT,
  373.       SPECIAL, OR CONSEQUENTIAL DAMAGES, ARISING OUT OF ANY USE THEREOF
  374.       OR BREACH OF ANY WARRANTY.
  375.  
  376.  
  377.  
  378.  
  379.  
  380.                              DISTRIBUTION
  381.                              ____________
  382.  
  383.    You may make this file available for downloading from your BBS or you may
  384.    upload it to any BBS of your choice, provided that you do not make any
  385.    changes to the contents of the archive (ZIP file). The archive and its
  386.    individual contents may not be used by any service that charges any money
  387.    whatsoever, without the written permission of the author.
  388.  
  389.  
  390.  
  391.  
  392.  
  393.                              REGISTRATION
  394.                              ____________
  395.  
  396.    Registration and the subsequent insertion of the registration number into
  397.    your configuation file, allows for the display of your BBS name on the
  398.    opening and closing screen as well as the reduction of a delay built into
  399.    the opening screen display along with the ability to change certain
  400.    values in the configuration file.
  401.  
  402.    To register your copy of BBDICE, please fill out the registration form
  403.    (REGISTER.FRM) and mail it along with the registration form to
  404.    the name and address on the form.
  405.  
  406.    Be sure to use the proper upper/lower case when filling in your name and
  407.    BBS name, as they MUST match the way you entered them in the configuration
  408.    file.             ^^^^
  409.  
  410.    Based upon information supplied on the registration form, I will pre-
  411.    register you on my BBS. You will then be able to call SUNRISE-80 and pick
  412.    up your registration number.
  413.  
  414.  
  415.  
  416.                                  MISC
  417.                                  ____
  418.  
  419.    The latest version of BASEBALL DICE and other fine SUNRISE DOOR programs
  420.    are always available for download from SUNRISE-80 BBS.
  421.  
  422.    Remember, should you have any problems, questions or suggestions, be sure
  423.    to drop me a message on Sunrise-80 or in the RIME network (BBS_Doors,
  424.    PCBHints, SYSops) or on SMARTNET (SN_Sysops) OR Fido 1:133/604
  425.